.box{
    width: 600px;
    height: 500px;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.box.boxActive {
    background-color: #00f;
}
.active{
    border: 2px solid #f00;
}